<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title></title>
</head>
<body>
    <!--业务异常告警-->
    <div th:fragment="alarmModalDiv">
        <!--弹框告警-->
        <div class="modal fade" id="alarmModal" tabindex="-1" role="dialog" aria-labelledby="alarmModalLabel"
             aria-hidden="true" data-backdrop="static">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title" id="alarmModalLabel">告警</h5>
                    </div>
                    <div class="modal-body" style="text-align: left;" >
                        <p>{{firstAlarmContent.moduleAlarmInfo}}</p>
                        <p>{{firstAlarmContent.alarmInfo}}</p>
                        <p ng-if="firstAlarmContent.alarmInfo.indexOf('MySql') !== -1">请手动重启MySql服务！</p>
                    </div>
                    <div class="modal-footer">
                        <!--系统异常时，不显示确定按钮-->
                        <button type="button" class="btn btn-primary" ng-click="alarmConfirm(firstAlarmContent.moduleName)">
                            确定
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!--系统异常告警-->
    <div th:fragment="systemAlarmModalDiv">
        <!--弹框告警-->
        <div class="modal fade" id="systemAlarmModal" tabindex="-1" role="dialog" aria-labelledby="systemAlarmModalLabel"
             aria-hidden="true" data-backdrop="static">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title" id="systemAlarmModalLabel">告警</h5>
                    </div>
                    <div class="modal-body" style="text-align: left;">
                        <p>机场地服监控系统异常！</p>
                        <p>请手动重启LoadsheetMonitor服务！</p>
                    </div>
                    <div class="modal-footer" style="height: 50px;">
                        <!--无确认按钮-->
                    </div>
                </div>
            </div>
        </div>
    </div>

</body>
</html>
